package com.chooongg.adapter.listener;

import android.graphics.Canvas;

import androidx.recyclerview.widget.RecyclerView;

public interface OnItemSwipeListener {
    void onItemSwipeStart(RecyclerView.ViewHolder viewHolder, int position);

    void clearView(RecyclerView.ViewHolder viewHolder, int position);

    void onItemSwipeMoving(Canvas canvas, RecyclerView.ViewHolder viewHolder, float dx, float dy, boolean isCurrentlyActive);

    void onItemSwipeEnd(RecyclerView.ViewHolder viewHolder, int position);
}
